package inherit.define.polymorphism.practice02;

public class Cat extends Animal{
    public Cat() {
    }

    public Cat(String color, int age) {
        super(color, age);
    }

    @Override
    public void eat(String something) {
        System.out.println(getAge()+"岁的"+getColor()+"颜色的猫慢悠悠的在吃"+something);

    }
    public void catMouse(){
        System.out.println("猫在抓老鼠");
    }
}
